package com.api.user.service;
import com.api.core.config.AuthUser;
import com.api.user.model.UserImage;
import com.api.core.service.Service;
import com.api.core.response.Result;
import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by wanghuiwen on 2021/04/14.
 */
public interface UserImageService extends Service<UserImage> {
   Result list(String search, String order, Integer page, Integer size);

    Result listUser(Long id);

    Result add(HttpServletRequest request, AuthUser authentication);
}
